#!/usr/bin/envpython
#-*-coding:utf-8-*-
import sys,os,re,json
sys.path.append('../manager/')
os.environ['DJANGO_SETTINGS_MODULE']='manager.settings'
from manager import settings
import django
django.setup()
from san import models
from django.db.models import Q
objnone = models.Hostgroup.objects.filter(hostgroupname = "jiesuanxitong",portgroupname = "jiesuanxitong",lungroupname ="jiesuanxitong",storage = 2)
if not objnone:
    print("ok")
